﻿#nullable enable

namespace PHMEE.EnergyEfficiency;

/// <summary>
/// 当前燃料类型 Dto
/// </summary>
public sealed record CurrentFuelTypeDto
{
    public CurrentFuelTypeDto(FuelType? mainEngineFuelType, FuelType? auxiliaryEngineFuelType, FuelType? boilerFuelType)
    {
        MainEngineFuelType = mainEngineFuelType;
        AuxiliaryEngineFuelType = auxiliaryEngineFuelType;
        BoilerFuelType = boilerFuelType;
    }

    /// <summary>
    /// 当前主机所用燃料类型
    /// </summary>
    public FuelType? MainEngineFuelType { get; init; }
    
    /// <summary>
    /// 当前副机所用燃料类型
    /// </summary>
    public FuelType? AuxiliaryEngineFuelType { get; init; }
    
    /// <summary>
    /// 当前锅炉所用燃料类型
    /// </summary>
    public FuelType? BoilerFuelType { get; init; }
}